package chixing.day19.homework.work1;

import java.util.ArrayList;

public class Test {
    public static void main(String[] args) {
        User user = new User(1, true, true);
        Product product1 = new Product(1, "手机", 200, true);
        Product product2 = new Product(2, "手机壳", 100, false);
        ArrayList<Product> list = new ArrayList<>();
        list.add(product1);
        list.add(product2);
        Order order = new Order(user, list);

        Count2 count2 = new Count2();
        count2.count2(order);
    }
}
